package com.pls.domain;

import com.pls.constants.ValidationErrorEnum;

public class ValidationError {

	private String message;
	private ValidationErrorEnum errorName;

	// Constructor
	public ValidationError() {

	}

	public ValidationError(ValidationErrorEnum name, String message) {
		this.message = message;
		this.errorName = name;
	}

	// Get, set
	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public ValidationErrorEnum getErrorName() {
		return errorName;
	}

	public void setErrorName(ValidationErrorEnum errorName) {
		this.errorName = errorName;
	}

}
